package com.aspose.cells;

class zbcl extends zbz {
   public zbcl() {
      this.c(4187);
      this.b(14);
      this.c = new byte[14];
   }

   void a(ErrorBar var1) {
      if (var1.a()) {
         if (var1.getDisplayType() == 3) {
            this.c[0] = 3;
         } else {
            this.c[0] = 4;
         }
      } else if (var1.getDisplayType() == 3) {
         this.c[0] = 1;
      } else {
         this.c[0] = 2;
      }

      switch(var1.getType()) {
      case 0:
         this.c[1] = 4;
         break;
      case 1:
         this.c[1] = 2;
         break;
      case 2:
         this.c[1] = 1;
         break;
      case 3:
         this.c[1] = 3;
         break;
      case 4:
         this.c[1] = 5;
      }

      if (var1.getShowMarkerTTop()) {
         this.c[2] = 1;
      }

      this.c[3] = 1;
      System.arraycopy(com.aspose.cells.b.a.zc.a(var1.getAmount()), 0, this.c, 4, 8);
      if (var1.getType() == 0) {
         boolean var2 = false;
         zik var3 = null;
         if (var1.getDisplayType() == 3) {
            var3 = var1.b();
         } else {
            var3 = var1.c();
         }

         if (var3 == null) {
            return;
         }

         int var4 = var3.k();
         System.arraycopy(com.aspose.cells.b.a.zc.a(var4), 0, this.c, 12, 2);
      } else {
         this.c[12] = 1;
      }

   }
}
